package com.vol.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * (sys_department)实体类
 *
 * @author kancy
 * @since 2024-08-23 14:18:56
 * @description 由 Mybatisplus Code Generator 创建
 */

@Accessors(chain = true)
@TableName("sys_department")
public class SysDepartment extends Model<SysDepartment> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * departmentid
     */
    @TableId
	private String departmentid;
    /**
     * departmentname
     */
    private String departmentname;
    /**
     * departmentcode
     */
    private String departmentcode;
    /**
     * parentid
     */
    private String parentid;
    /**
     * departmenttype
     */
    private String departmenttype;
    /**
     * enable
     */
    private Integer enable;
    /**
     * remark
     */
    private String remark;
    /**
     * createid
     */
    private Integer createid;
    /**
     * creator
     */
    private String creator;
    /**
     * createdate
     */
    private Date createdate;
    /**
     * modifyid
     */
    private Integer modifyid;
    /**
     * modifier
     */
    private String modifier;
    /**
     * modifydate
     */
    private Date modifydate;


    //setter
    public void setDepartmentid(String departmentid) {
        this.departmentid = departmentid;
    }

    public void setDepartmentname(String departmentname) {
        this.departmentname = departmentname;
    }

    public void setDepartmentcode(String departmentcode) {
        this.departmentcode = departmentcode;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public void setDepartmenttype(String departmenttype) {
        this.departmenttype = departmenttype;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setCreateid(Integer createid) {
        this.createid = createid;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public void setModifyid(Integer modifyid) {
        this.modifyid = modifyid;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setModifydate(Date modifydate) {
        this.modifydate = modifydate;
    }

    //getter
    @JsonProperty("DepartmentId")
    public String getDepartmentid() {
        return departmentid;
    }
    @JsonProperty("DepartmentName")
    public String getDepartmentname() {
        return departmentname;
    }
    @JsonProperty("DepartmentCode")
    public String getDepartmentcode() {
        return departmentcode;
    }
    @JsonProperty("ParentId")
    public String getParentid() {
        return parentid;
    }
    @JsonProperty("DepartmentType")
    public String getDepartmenttype() {
        return departmenttype;
    }
    @JsonProperty("Enable")
    public Integer getEnable() {
        return enable;
    }
    @JsonProperty("Remark")
    public String getRemark() {
        return remark;
    }
    @JsonProperty("CreateID")
    public Integer getCreateid() {
        return createid;
    }
    @JsonProperty("Creator")
    public String getCreator() {
        return creator;
    }
    @JsonProperty("CreateDate")
    public Date getCreatedate() {
        return createdate;
    }
    @JsonProperty("ModifyID")
    public Integer getModifyid() {
        return modifyid;
    }
    @JsonProperty("Modifier")
    public String getModifier() {
        return modifier;
    }
    @JsonProperty("ModifyDate")
    public Date getModifydate() {
        return modifydate;
    }
}